//
//  BaseViewModel.swift
//  XiaoHongYi
//
//  Created by 杨东宝 on 2020/5/4.
//  Copyright © 2020 杨东宝. All rights reserved.
//

import UIKit
typealias UpdateBlock = () ->Void

class BaseViewModel: NSObject {
     // - 数据源更新
      var updataBlock:UpdateBlock?
      var pageInfor:PageInfor = PageInfor()
}
class PageInfor:NSObject,Convertible {
    var currentPage:Int = 1
    var totalPage:Int = 0
    var hasNext:Bool = false
    required override init() {
        
    }
}
